<?php
$fileName = "";
if ($_GET['file'] == "admin") {
	$fileName = "error_log";
}
else if ($_GET['file'] == "home") {
	$fileName = "../home/error_log";	
}
else if ($_GET['file'] == "round") {
	$fileName = "../round/error_log";
}
else if ($_GET['file'] == "parser") {
	$fileName = "../parser/error_log";
}
$fh = fopen($fileName, 'w') or die("can't open file");
fclose($fh);

header( 'Location: ../admin/homePage.php' );
?>